Skip to content

Comments

🎨 Palette: Add tooltips and accessibility labels for camera metrics#24

Open
manupawickramasinghe wants to merge 1 commit intomainfrom
palette-ux-metrics-4336062276193203756
Open

🎨 Palette: Add tooltips and accessibility labels for camera metrics#24
manupawickramasinghe wants to merge 1 commit intomainfrom
palette-ux-metrics-4336062276193203756

Conversation

@manupawickramasinghe
Copy link
Member

💡 What: Added tooltips and dynamic content descriptions to the Bitrate and Frame Time metrics in the camera preview. Also fixed duplicate XML attributes in fragment_camera.xml.
🎯 Why: Raw numbers (e.g. "500kB/s", "33ms") are cryptic to new users and lack context for screen readers. Duplicate attributes were causing build failures.
♿ Accessibility:

  • Added tooltipText for "Current streaming bitrate" and "Frame processing latency".
  • Added dynamic contentDescription updates (e.g., "Bitrate: 500 kilobytes per second") for screen readers.
  • Made metric views focusable and long-clickable for better discoverability.
  • Fixed invalid duplicate android:labelFor attributes.

PR created automatically by Jules for task 4336062276193203756 started by @manupawickramasinghe

- Added tooltips for bitrate and frame time metrics.
- Implemented dynamic content descriptions for accessibility.
- Fixed duplicate XML attributes in `fragment_camera.xml` causing build failures.
- Made metric text views focusable and long-clickable.

Co-authored-by: manupawickramasinghe <73810867+manupawickramasinghe@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant